<table class="table table-sm table-bordered table-striped">
  <tr>
      <th>ID</th><th>Name</th><th>Category</th><th>Price</th><th></th>
  </tr>
  <tr *ngFor="let item of getProducts()">
      <td>{{item.id}}</td>
      <td>{{item.name}}</td>
      <td>{{item.category}}</td>
      <td>{{item.price | currency:"USD" }}</td>
      <td class="text-center">
          <button class="btn btn-danger btn-sm mr-1"
                  (click)="deleteProduct(item.id)">
              Delete
          </button>
          <button class="btn btn-warning btn-sm" (click)="editProduct(item.id)">
              Edit
          </button>
      </td>
  </tr>
</table>
<button class="btn btn-primary m-1" (click)="createProduct()">
  Create New Product
</button>
